/*******************************************************************************
 * Copyright (c) 2008 Sylvain Sicard.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Noel De Palma - initial API and implementation
 ******************************************************************************/
package fr.jade.service;

import fr.jade.util.JadeException;

/**
 * @author Noel De Palma
 * @contact noel.depalma@inrialpes.fr
 */

public interface ManagerService {
    /** 
     * deploy the component ADL description identified by its name.
     * the parameter adlId.
     * TODO : component name != adlfilename ?
     * @param adlId an adl filename of the ressources to be deployed in this manager.
     * @throws JadeException
     */
     void deploy(String adlId) throws JadeException;
     
     /** 
      * start the root component identified by the parameter adlId.
      * @param cmpName the component name to be started in this manager.
      * @throws JadeException
      */
     void start(String cmpName)throws JadeException;
     
     /** 
      * stop the root component identified by the parameter adlId.
      * @param adlId the component name to be stopped in this manager.
      * @throws JadeException
      */
     void stop(String cmpName)throws JadeException;
     
}
